export namespace RuleCascade {
	export interface Tigger {
		type: "device" | "product" | "cron";
		targetType?: "device" | "product";
		target?: string;
		param?: string;
	}
	export interface Filter {
		type: "data" | "time";
		target?: "";
		condition?: "<" | "<=" | "=" | ">=" | ">=";
		param?: string | string[];
	}
	export interface Action {
		type: "set" | "call";
		target?: string;
		func?: string;
		sensor?: string;
		param?: string | string[];
	}
}
